<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8">
		<title>H-TICKET | Login</title>
		<meta name="description" content="a snippet of a bootstrap login form with fully responsive supported. Feel free to test and report a bugs to me :)">
		<meta name="author" content="iiwak">
		<link rel="icon"
		type="image/png"
		href="<?php echo base_url()?>assets/img/favicon.png" />
		<!-- Styles -->
		<link rel="stylesheet" href="<?php echo base_url()?>assets/bootstrap/css/bootstrap.min.css">
		<link rel="stylesheet" href="<?php echo base_url()?>assets/bootstrap/css/bootstrap-responsive.min.css">
		<link rel="stylesheet" href="<?php echo base_url()?>assets/bootstrap/css/bootstrap.css">
		<link rel="stylesheet" href="<?php echo base_url()?>assets/css/jamu.css">
	</head>
	<body>
		<?php if ($error) { ?>
		<div class="alert alert-error">
			<!--<button type="button" class="close" data-dismiss="alert">
				×
			</button>-->
			<center>
				<strong>Gagal Login</strong> Pastikan email dan password yang anda masukkan benar.
			</center>
		</div>
		<?php } ?>
		<div class="container" style="margin-top: 100px">
			<div class="row-fluid" >
				<div class="span3 offset1" id="logo"><img src="<?php echo base_url()?>assets/img/logo_large.png" style="float: right"/>
				</div>
				<div class="span6" id="form-login">
					<form action="<?php echo base_url()?>index.php/login/login_user" class="form-horizontal" method="post">
						<fieldset>
							<legend class="login-tittle">
								H-TICKET LOGIN PAGE
							</legend>
							<div class="control-group">
								<div class="control-label">
									<label>Email</label>
								</div>
								<div class="controls">
									<input name="email" type="text" placeholder="john.doe@youremail.com" class="input-large">
								</div>
							</div>

							<div class="control-group">
								<div class="control-label">
									<label>Password</label>
								</div>
								<div class="controls">
									<input name="password" type="password" placeholder="type your password" class="input-large">
								</div>
							</div>

							<div class="control-group">
								<div class="controls">

									<button type="submit" id="submit" class="btn btn-success btn-large button-loading" data-loading-text="Loading...">
										Sign in
									</button>

									<a type="button" href="<?php echo base_url('index.php/register'); ?>" class="" data-loading-text="Loading...">Register Now!</a>

								</div>
							</div>
						</fieldset>
					</form>
				</div>
			</div>
		</div>
		<div id="foot">
			<footer class="footer">
				<div class="container ">
					<p>
						Developed by <a href="http://twitter.com/ic" target="_blank">Innovation Center</a>
					</p>
					<p>
						Code licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>, documentation under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.
					</p>
					<p>
						<a href="http://glyphicons.com">Glyphicons Free</a> licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.
					</p>

				</div>
			</footer>

		</div>

		<!-- Footer
		================================================== -->

		<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
		<script>
			window.jQuery || document.write('<script src="js/jquery-1.9.1.min.js"><\/script>')
		</script>
		<script type="text/javascript" src="bootstrap/js/bootstrap.min.js"></script>
		<script type="text/javascript" src="bootstrap/js/bootstrap-button.js"></script>
		<script type="text/javascript" src="bootstrap/js/application.js"></script>

	</body>
</html>